#include "Shm.hpp"
#include "NamedPipe.hpp"

int main() {
    // Shm shm(SHPathName, SHProj_Id, SHCreater);
    // char* addr = (char*)shm.GetAddress();

    // NamedPipe fifo(ComPath, NPCreater);

    // while (true) {
    //     // 每次先阻塞读
    //     std::string temp;
    //     fifo.SomeoneUseToRead(&temp);
    //     std::cout << addr << std::endl;
    //     sleep(1);
    // }

    struct shmid_ds ds;
    return 0;
}